#ifndef _VREGIST_WIDGET_
#define _VREGIST_WIDGET_


#include <QWidget>
#include <QSet>
#include "vlineedit.h"
class VSwitchInterfaceButton;
class VLineEdit;
class VPushButton;
class VErrorPromptLabel;

class VRegistWidget  : public QWidget
{
	friend class VLaunchWidget;
	Q_OBJECT

public:
	VRegistWidget(QWidget *parent=nullptr);
	~VRegistWidget();


private slots:
	void onLineEditAccountFormatError(QSet<ERRORTYPE> errorExist);
private:
	void initLineEdit();
	void initRegistButton();
	void initConnect();
	VSwitchInterfaceButton* m_pButtonSwichBack;
	VLineEdit* m_pLineEditRegistAccount;
	VLineEdit* m_pLineEditRegistPassword;
	VLineEdit* m_pLineEditConfirmPassword;
	VPushButton* m_pButtonRegist;
	VErrorPromptLabel* m_pLabelErrorPrompt;
};

#endif 

